package com.op.parcel.manage.modules.sys.vo;

import com.op.parcel.manage.modules.sys.entity.Permission;
import com.op.parcel.manage.modules.sys.entity.Role;
import com.op.parcel.manage.modules.sys.entity.User;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 视图实体类
 *
 * @author xuan
 * @since 2019-01-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserVO对象", description = "UserVO对象")
public class UserVO extends User {
	private static final long serialVersionUID = 1L;

	private List<Role> roles;

	private List<Permission> permissions;
}
